\hypertarget{classvs_1_1net_1_1_socket_acceptor}{\section{vs\-:\-:net\-:\-:Socket\-Acceptor Class Reference}
\label{classvs_1_1net_1_1_socket_acceptor}\index{vs\-::net\-::\-Socket\-Acceptor@{vs\-::net\-::\-Socket\-Acceptor}}
}


Wrapper class for acceptor socket. This class is a factory, and accept new socket streams.  




{\ttfamily \#include $<$Socket\-Acceptor.\-h$>$}

Inheritance diagram for vs\-:\-:net\-:\-:Socket\-Acceptor\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classvs_1_1net_1_1_socket_acceptor}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{classvs_1_1net_1_1_socket_acceptor_a6e66421ceddc9a12cadeddb66da9b01c}{\hyperlink{classvs_1_1net_1_1_socket_acceptor_a6e66421ceddc9a12cadeddb66da9b01c}{$\sim$\-Socket\-Acceptor} ()}\label{classvs_1_1net_1_1_socket_acceptor_a6e66421ceddc9a12cadeddb66da9b01c}

\begin{DoxyCompactList}\small\item\em Destructor. \end{DoxyCompactList}\item 
\hypertarget{classvs_1_1net_1_1_socket_acceptor_a55396f6939e51edc3c6ba89f991caabb}{\hyperlink{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} \hyperlink{classvs_1_1net_1_1_socket_acceptor_a55396f6939e51edc3c6ba89f991caabb}{Accept} (\hyperlink{classvs_1_1net_1_1_internet_address}{Internet\-Address} \&address, \hyperlink{classvs_1_1net_1_1_socket_stream}{Socket\-Stream} $\ast$socket\-\_\-stream=0)}\label{classvs_1_1net_1_1_socket_acceptor_a55396f6939e51edc3c6ba89f991caabb}

\begin{DoxyCompactList}\small\item\em Accept socket stream from client. \end{DoxyCompactList}\item 
\hypertarget{classvs_1_1net_1_1_socket_acceptor_a416a7aabc78c0003a8ad80c0557ca7c3}{int \hyperlink{classvs_1_1net_1_1_socket_acceptor_a416a7aabc78c0003a8ad80c0557ca7c3}{Get\-Listen\-Queue\-Length} ()}\label{classvs_1_1net_1_1_socket_acceptor_a416a7aabc78c0003a8ad80c0557ca7c3}

\begin{DoxyCompactList}\small\item\em Get the listen queue size. \end{DoxyCompactList}\item 
\hypertarget{classvs_1_1net_1_1_socket_acceptor_a8daa0b0ac93a8692849f050e808e945c}{void \hyperlink{classvs_1_1net_1_1_socket_acceptor_a8daa0b0ac93a8692849f050e808e945c}{Set\-Listen\-Queue\-Length} (int length)}\label{classvs_1_1net_1_1_socket_acceptor_a8daa0b0ac93a8692849f050e808e945c}

\begin{DoxyCompactList}\small\item\em Set the listen queue size. \end{DoxyCompactList}\end{DoxyCompactItemize}
{\bf }\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{classvs_1_1net_1_1_socket_acceptor_a09b2a143f7e5a74f3388ab5cc17a5b47}{Socket\-Acceptor} (\hyperlink{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} handle=\hyperlink{namespacevs_1_1net_a022e70e88d4dc482408183296dc49ab5}{I\-N\-V\-A\-L\-I\-D\-\_\-\-S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E}, int backlog=10)
\item 
\hypertarget{classvs_1_1net_1_1_socket_acceptor_ad20d1860feac904d22a6cf489b9cd13a}{{\bfseries Socket\-Acceptor} (const \hyperlink{classvs_1_1net_1_1_internet_address}{Internet\-Address} \&address, int backlog=10)}\label{classvs_1_1net_1_1_socket_acceptor_ad20d1860feac904d22a6cf489b9cd13a}

\item 
\hypertarget{classvs_1_1net_1_1_socket_acceptor_a52f85c8dccba1f0680ccfeeb71d2af05}{{\bfseries Socket\-Acceptor} (unsigned short port, const char $\ast$address=0, int backlog=10)}\label{classvs_1_1net_1_1_socket_acceptor_a52f85c8dccba1f0680ccfeeb71d2af05}

\end{DoxyCompactItemize}

{\bf }\par
\begin{DoxyCompactItemize}
\item 
\hyperlink{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} \hyperlink{classvs_1_1net_1_1_socket_acceptor_a152a5080267ca55d007d142795431b47}{Listen} (const \hyperlink{classvs_1_1net_1_1_internet_address}{Internet\-Address} \&address)
\item 
\hypertarget{classvs_1_1net_1_1_socket_acceptor_ac4f4da9c58dc2288c2f909e5c5b0acbd}{\hyperlink{namespacevs_1_1net_a8cd20dff70902b20f734a7f958cf99b6}{S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} {\bfseries Listen} (unsigned short port, const char $\ast$address=0)}\label{classvs_1_1net_1_1_socket_acceptor_ac4f4da9c58dc2288c2f909e5c5b0acbd}

\end{DoxyCompactItemize}



\subsection{Detailed Description}
Wrapper class for acceptor socket. This class is a factory, and accept new socket streams. 

\subsection{Constructor \& Destructor Documentation}
\hypertarget{classvs_1_1net_1_1_socket_acceptor_a09b2a143f7e5a74f3388ab5cc17a5b47}{\index{vs\-::net\-::\-Socket\-Acceptor@{vs\-::net\-::\-Socket\-Acceptor}!Socket\-Acceptor@{Socket\-Acceptor}}
\index{Socket\-Acceptor@{Socket\-Acceptor}!vs::net::SocketAcceptor@{vs\-::net\-::\-Socket\-Acceptor}}
\subsubsection[{Socket\-Acceptor}]{\setlength{\rightskip}{0pt plus 5cm}{\bf I\-N\-L\-I\-N\-E} vs\-::net\-::\-Socket\-Acceptor\-::\-Socket\-Acceptor (
\begin{DoxyParamCaption}
\item[{{\bf S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E}}]{handle = {\ttfamily {\bf I\-N\-V\-A\-L\-I\-D\-\_\-\-S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E}}, }
\item[{int}]{backlog = {\ttfamily 10}}
\end{DoxyParamCaption}
)}}\label{classvs_1_1net_1_1_socket_acceptor_a09b2a143f7e5a74f3388ab5cc17a5b47}
Constructors. 

\subsection{Member Function Documentation}
\hypertarget{classvs_1_1net_1_1_socket_acceptor_a152a5080267ca55d007d142795431b47}{\index{vs\-::net\-::\-Socket\-Acceptor@{vs\-::net\-::\-Socket\-Acceptor}!Listen@{Listen}}
\index{Listen@{Listen}!vs::net::SocketAcceptor@{vs\-::net\-::\-Socket\-Acceptor}}
\subsubsection[{Listen}]{\setlength{\rightskip}{0pt plus 5cm}{\bf I\-N\-L\-I\-N\-E} {\bf S\-O\-C\-K\-E\-T\-\_\-\-H\-A\-N\-D\-L\-E} vs\-::net\-::\-Socket\-Acceptor\-::\-Listen (
\begin{DoxyParamCaption}
\item[{const {\bf Internet\-Address} \&}]{address}
\end{DoxyParamCaption}
)}}\label{classvs_1_1net_1_1_socket_acceptor_a152a5080267ca55d007d142795431b47}
Prepare to accept socket stream from client. 

The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
D\-:/vs\-\_\-2008\-\_\-projects/\-Rpg\-Login/vs/net/doxygen/\hyperlink{_socket_acceptor_8h}{Socket\-Acceptor.\-h}\end{DoxyCompactItemize}
